package org.nanotek.cms.domain.lucene;

import org.nanotek.StringKong;
import org.nanotek.util.Base;

@SuppressWarnings("serial")
public abstract class IndexHolder<I> extends StringKong implements Base<String> {


	public IndexHolder() {
		super(Long.toString(System.currentTimeMillis()));
	}


	public IndexHolder(String id) {
		super(id);
	}

	private Index index;


	public Index getIndex() {
		return index;
	}

	public void setIndex(Index index) {
		this.index = index;
	}

	public abstract I getTargetIndex() ;

}
